home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / widget / r3propwin2.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.3 KB  |  61 lines

  1.  
  2. // JavaScript wrapper for r3propwin2.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_PROPWIN2_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_PROPWIN2 = 1749;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Register property gadget.
  16. // Returns: Boolean, true if succeeded
  17. // p1: Integer, models class id
  18. // p2: Integer, gadget class id
  19.  
  20. R3PROPWI2CM_REGISTERGADGET = 1749000;
  21.  
  22. function mR3PROPWI2CM_REGISTERGADGET(p1, p2) {
  23.   return   DoA3(this.r3obj, 1749000, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
  24. }
  25.  
  26. // Description: Attach the window to hierarchical r3objlay model.
  27.  
  28. R3PROPWIN2M_ADDDEPENDANTS = 1749001;
  29.  
  30. function mR3PROPWIN2M_ADDDEPENDANTS() {
  31.   DoA(this.r3obj, 1749001, 0, R3TID_INTEGER, 0);
  32. }
  33.  
  34. // Description: Detach the window from the models
  35.  
  36. R3PROPWIN2M_REMOVEDEPENDANTS = 1749002;
  37.  
  38. function mR3PROPWIN2M_REMOVEDEPENDANTS() {
  39.   DoA(this.r3obj, 1749002, 0, R3TID_INTEGER, 0);
  40. }
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47. function r3Propwin2 () { 
  48.    this.base = r3God;
  49.    if(arguments.length) {
  50.       this.base(R3CLID_PROPWIN2, arguments);
  51.    }
  52.    // Methods
  53.    this.REGISTERGADGET=mR3PROPWI2CM_REGISTERGADGET;
  54.    this.ADDDEPENDANTS=mR3PROPWIN2M_ADDDEPENDANTS;
  55.    this.REMOVEDEPENDANTS=mR3PROPWIN2M_REMOVEDEPENDANTS;
  56.  
  57.    // Attributes
  58. }
  59.  
  60. r3Propwin2.prototype=new r3Window;
  61. // r3propwin2.h_H